class BootStrap {

     def init = { servletContext ->
     	/*
     	(new Sport([name:'飛行運動'])).save()
     	(new Sport([name:'認證中心'])).save()
     	(new Sport([name:'高鐵左營站'])).save()
     	(new Sport([name:'小港機場'])).save()
     	(new Sport([name:'飛盤'])).save()
     	(new Sport([name:'橄欖球'])).save()
     	(new Sport([name:'輕艇水球'])).save()
     	(new Sport([name:'龍舟'])).save()
     	(new Sport([name:'滑水'])).save()
     	(new Sport([name:'韻律體操'])).save()
     	(new Sport([name:'特技體操'])).save()
     	(new Sport([name:'運動舞蹈'])).save()
     	(new Sport([name:'滑輪競速'])).save()
     	(new Sport([name:'拔河'])).save()
     	(new Sport([name:'滑輪曲棍'])).save()
     	(new Sport([name:'滑輪花式'])).save()
     	(new Sport([name:'原野射箭'])).save()
     	(new Sport([name:'定向越野'])).save()
     	(new Sport([name:'保齡球'])).save()
     	(new Sport([name:'蹼泳'])).save()
     	(new Sport([name:'水上救生'])).save()
     	(new Sport([name:'浮士德球'])).save()
     	(new Sport([name:'健美'])).save()
     	(new Sport([name:'有氧體操'])).save()
     	(new Sport([name:'合球'])).save()
     	(new Sport([name:'合球(備勤)'])).save()
     	(new Sport([name:'巧固球'])).save()
     	(new Sport([name:'短柄牆球'])).save()
     	(new Sport([name:'壁球'])).save()
     	(new Sport([name:'撞球'])).save()
     	(new Sport([name:'武術'])).save()
     	(new Sport([name:'滾球'])).save()
     	(new Sport([name:'柔術'])).save()
     	(new Sport([name:'空手道'])).save()
     	(new Sport([name:'健力'])).save()
     	(new Sport([name:'攀登'])).save()
		(new Sport([name:'相撲'])).save()
		(new Sport([name:'沙灘手球'])).save()
		(new Sport([name:'壘球'])).save()
     	(new Sport([name:'其他'])).save()
    	
     	(new Vcategory([name:'隨隊'])).save()
     	(new Vcategory([name:'競賽'])).save()
     	(new Vcategory([name:'其他'])).save()
     	
     	(new Person([uid:'u123456789', name:'Bill'])).save()
     	(new SportTag([person:Person.get(1), sport:Sport.get(1)])).save()
     	(new CategoryTag([person:Person.get(1), category:Vcategory.get(1)])).save()
     	
     	(new Person([uid:'u123456700', name:'Winnie'])).save()
     	(new SportTag([person:Person.get(2), sport:Sport.get(2)])).save()
     	(new CategoryTag([person:Person.get(2), category:Vcategory.get(1)])).save()

     	(new Person([uid:'u123456788', name:'William'])).save()
     	(new SportTag([person:Person.get(3), sport:Sport.get(2)])).save()
     	(new CategoryTag([person:Person.get(3), category:Vcategory.get(2)])).save()
     	
     	def now = new Date()
     	(new Activity([name:'act001', startAt: now, endAt: now])).save()
     	*/
     }
     def destroy = {
     }
} 